package com.hmall;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


@MapperScan("com.hmall.cart.mapper")
@EnableFeignClients(basePackages = "com.hmall.api.client")
@SpringBootApplication
@Slf4j
public class CartApplication {
    public static void main(String[] args) {
        log.info("购物车服务启动成功");

        SpringApplication.run(CartApplication.class, args);
    }
}